package com.base.service;

import com.base.po.voip.PushNews;
import com.base.po.voip.PushNewsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PushNewsService {
    int countByExample(PushNewsExample example);

    int deleteByExample(PushNewsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PushNews record);

    int insertSelective(PushNews record);

    List<PushNews> selectByExample(PushNewsExample example);

    List<PushNews> selectByParentId(String parentid);

    PushNews selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PushNews record, @Param("example") PushNewsExample example);

    int updateByExample(@Param("record") PushNews record, @Param("example") PushNewsExample example);

    int updateByPrimaryKeySelective(PushNews record);

    int updateByPrimaryKey(PushNews record);
}